package cn.edu.njtc.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Schema(description = "医生信息视图对象")
public class DoctorVO implements Serializable {

    @Schema(description = "医生ID")
    private Integer id;

    @Schema(description = "医生姓名")
    private String name;

    @Schema(description = "医生手机号")
    private String phone;

    // 不包含密码字段，避免敏感信息泄露

    @Schema(description = "所属医院ID")
    private Integer hospitalId;

    @Schema(description = "所属医院名称")
    private String hospitalName;

    @Schema(description = "医生职称")
    private String level;

    @Schema(description = "创建时间")
    private LocalDateTime created;

    @Schema(description = "修改时间")
    private LocalDateTime updated;

    @Schema(description = "医生简历或介绍")
    private String doctorIntroduction;

    @Schema(description = "从医经验年限")
    private Integer experienceYears;

    @Schema(description = "擅长领域")
    private String specialties;

    // 注意：不包含 deleted 字段，除非前端需要显示已删除状态
}